<include file="common/hearder"/>

            <div class="page-header">
                <div class="pull-left">
                    <h4>新增奖惩记录信息\Add reward and punishment record information</h4>
                </div>
            </div>
            <div class="clearfix"></div>
            <div class="col-lg-12">
                <form action="{:U('add')}" method="post">
                    <div class="col-lg-6">
                        <div class="form-group">
                            <label for="dn_staffid">当事人</label>
                            <select class="form-control" name="dn_staffid" id="dn_staffid">
                                <optgroup>
                                    <option value="0">*请录入当事人*</option>
                                    <foreach name="stlist" item="l">
                                        <option value="{$l.stf_id}">{$l.stf_name}</option>
                                    </foreach>
                                </optgroup>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="sy_id">制度名称</label>
                            <select class="form-control" name="sy_id" id="sy_id">
                                <optgroup>
                                    <option value="0">*请录入制度名称*</option>
                                    <foreach name="sylist" item="l">
                                        <option value="{$l.sy_id}">{$l.sy_name}</option>
                                    </foreach>
                                </optgroup>
                            </select>
                        </div>
                        <div class="form-group">
                            <label for="dn_reason">原因</label>
                            <textarea type="text" class="form-control" name="dn_reason" id="dn_reason"></textarea>
                        </div>
                        <div class="form-group">
                            <label for="dn_result">结果</label>
                            <input type="radio" name="dn_result" value="1" id="dn_result" checked>已确认
                            <input type="radio" name="dn_result" value="0" id="dn_result1" >未确认
                        </div>
                    </div>
                    <div class="col-lg-12"><button type="submit" value="1" name="submit" class="btn btn-default">提交</button></div>
                </form>
            </div>
        </div>
<script type="text/javascript">
    $(function(){
        $("#dn_staffid").select2();
    });
    $(function(){
        $("#sy_id").select2();
    });
</script>
<include file="common/footer"/>